package com.lqq.designPattern.bulider_pattern.factory.abstractFactory;

//美式风味工厂，可以生产美式咖啡和抹茶慕斯
public class AmericanDessertCoffeeFactory implements DessertCoffeeFactory{

    //生产抹茶慕斯
    @Override
    public Dessert createDessert() {
        return new MatchaMousse();
    }

    //生产美式咖啡
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }
}
